package factory;

/**
 * @ClassName SimpleFactoryTest
 * @Description TODO
 * @Author leejiliang
 * @DateTime 2021/7/12 18:02
 * @Version 1.0
 */
public class SimpleFactoryTest {
	public static void main(String[] args) {

		System.out.println(ConnectionFactory.getConnection("MySQL").connection());
		System.out.println(ConnectionFactory.getConnection("oracle").connection());
	}
}
